package com.baize.glinkad.bean.base;

import android.app.Activity;

import com.baize.glinkad.bean.ADInfo;
import com.baize.glinkad.bean.listener.BannerListener;
import com.baize.glinkad.manager.ADManagerFactory;

public class BannerModel {

    public BannerModel(Activity activity, ADInfo aDInfo, String posID) {
        if (aDInfo == null || aDInfo.adView == null) {
        }
        ADManagerFactory.instance().glinkAD.initBanner(activity, aDInfo, posID);
    }

    public void setBannerListener(BannerListener bannerListener) {
        ADManagerFactory.instance().glinkAD.setBannerListener(bannerListener);
    }


    public void load() {
        ADManagerFactory.instance().glinkAD.loadBanner();
    }

    public void destroy() {
    }

}
